package com.itcat.api.mysql;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itcat.mysql.pojo.CmsSubject;
import com.itcat.mysql.pojo.SmsHomeAdvertise;
import com.itcat.mysql.vo.PageResult;

import java.util.List;

/**
 * @author Jerry Broker
 * @project_name rainbow-mall
 * @create 2022-04-03 14:49
 */
public interface CmsSubjectApi {
    // 获取全部商品专题
    List<CmsSubject> listAll();

    //分页获取商品专题
    Page<CmsSubject>  list(String keyword, Integer pageNum, Integer pageSize);
}
